export const BasicMaterial_rel = /*wgsl*/ `
parserMaterial(input);//解析材质
normal=cal_normal(input);
#if ~{def.enablePick}
output.pickColor=vec4(material.pickColor,1.0);
#endif
if(material.color.w<=material.alphaCutoff){//alpha测试
  discard;
}
//自发光
if(material.refuseLight==1.0){
  output.color=material.color+vec4(material.emissive, 1.0);
}else{
  output.color=vec4(material.emissive, 1.0);
}
output.color.a=material.color.w*material.opacity;
`
